package com.example.edu.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class User {
    int user_id;
    String telephone;
    String password;
    String nickname;
    int role;
    Integer gender;
    String name;
    String school;
    String major;

    public User(String telephone,String password,String nik_name,int role){
        this.telephone = telephone;
        this.password = password;
        this.nickname = nik_name;
        this.role = role;
    }
}
